(define-module (libraries csfml)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system cmake)
  #:use-module (guix packages)
  #:use-module (gnu packages game-development)
  #:use-module (gnu packages pkg-config)
  #:use-module (guix download))

(define-public csfml
  (package
    (name "csfml")
    (version "2.5")
    (source (origin
              (method url-fetch)
              (uri (string-append "https://github.com/SFML/CSFML/archive/"
                                  version ".tar.gz"))
              (sha256
               (base32
                "0q6qm9ydm710ppxmsym06bf448cjlyy10kajvmhcmnqlkjzdz7fl"))))
    (build-system cmake-build-system)
    (arguments
     '(#:tests? #f)) ; no tests
    (native-inputs
     `(("pkg-config" ,pkg-config)))
    (inputs
     `(("sfml" ,sfml)))
    (home-page "https://www.sfml-dev.org")
    (synopsis "C bindings for Simple and Fast Multimedia Library")
    (description
     "C bindings")
    (license license:zlib)))

csfml


